import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/wantbuyAudit/list',
    method: 'get',
    params: query
  })
}

export function approvalPurchaseAudit(data) {
  return request({
    url: '/wantbuyAudit/approvalWantbuyAudit',
    method: 'post',
    data
  })
}

export function rejectedPurchaseAudit(data) {
  return request({
    url: '/wantbuyAudit/rejectedWantbuyAudit',
    method: 'post',
    data
  })
}

